package com.itcat.api.mysql;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.itcat.mysql.param.DeliveryParam;
import com.itcat.mysql.param.OmsOrderParam;
import com.itcat.mysql.pojo.OmsOrder;

import java.util.List;


public interface OmsOrderApi /*extends IService<OmsOrder> */ {


    //分页查询订单列表
    Page<OmsOrder> OrderList(OmsOrderParam omsOrderParam);

    //批量删除订单信息
    void delete(Integer[] ids);

    //批量关闭订单
    void close(Integer[] ids, String note,Integer code);

    //批量发货
    void delivery(List<DeliveryParam> list, int code);

    //查询订单详情
    OmsOrder findOrder(Integer id);

    //订单备注
    void updateNote(Integer id, String note, Integer status);

    //修改收货人信息
    void updateReceiverInfo(OmsOrder omsOrder);
}
